<script setup lang="ts"></script>

<template>
  <router-view></router-view>
</template>

<style scoped></style>
<script setup>
import { ref, onMounted } from "vue";
// 禁止web端屏幕缩放
onMounted(() => {
  window.onload = function () {
    document.addEventListener("touchstart", function (event) {
      if (event.touches.length > 1) {
        event.preventDefault();
      }
    });
    document.addEventListener("gesturestart", function (event) {
      event.preventDefault();
    });
  };
});
</script>